package com.zline.foodraise.entity;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * Created by heshantao on 15/7/10.
 * 省份
 */
@DatabaseTable(tableName = "province")
public class Province {
    @DatabaseField(generatedId = true)
    private int id;
    @DatabaseField
    private int provinceId;
    @DatabaseField
    private String provinceName;

    public Province() {
    }

    public Province(int provinceId, String provinceName) {
        this.provinceId = provinceId;
        this.provinceName = provinceName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(int provinceId) {
        this.provinceId = provinceId;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    @Override
    public String toString() {
        return "Province [provinceName=" +provinceName  + ", provinceId=" + provinceId
                + "]";
    }
}
